home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.001.Sample / ASample.make < prev    next >
Encoding:
Text File  |  1989-05-31  |  2.5 KB  |  79 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    ASample.make    -    Make Source
  9. #
  10. #    Copyright © 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89
  17. #                1.03                06/89
  18. #
  19. #    Components:
  20. #                Sample.p            June 1, 1989
  21. #                Sample.c            June 1, 1989
  22. #                Sample.a            June 1, 1989
  23. #                Sample.inc1.a        June 1, 1989
  24. #                SampleMisc.a        June 1, 1989
  25. #                Sample.r            June 1, 1989
  26. #                Sample.h            June 1, 1989
  27. #                PSample.make        June 1, 1989
  28. #                CSample.make        June 1, 1989
  29. #                ASample.make        June 1, 1989
  30. #
  31. #    Sample is an example application that demonstrates how to
  32. #    initialize the commonly used toolbox managers, operate 
  33. #    successfully under MultiFinder, handle desk accessories, 
  34. #    and create, grow, and zoom windows.
  35. #
  36. #    It does not by any means demonstrate all the techniques 
  37. #    you need for a large application. In particular, Sample 
  38. #    does not cover exception handling, multiple windows/documents, 
  39. #    sophisticated memory management, printing, or undo. All of 
  40. #    these are vital parts of a normal full-sized application.
  41. #
  42. #    This application is an example of the form of a Macintosh 
  43. #    application; it is NOT a template. It is NOT intended to be 
  44. #    used as a foundation for the next world-class, best-selling, 
  45. #    600K application. A stick figure drawing of the human body may 
  46. #    be a good example of the form for a painting, but that does not 
  47. #    mean it should be used as the basis for the next Mona Lisa.
  48. #
  49. #    We recommend that you review this program or TESample before 
  50. #    beginning a new application.
  51.  
  52. #    NOTE: The Asm has warnings turned off here.  This is because the
  53. #    Macro "Case#" builds a list of BEQ instructions that could be
  54. #    optimized into BEQ.S.  Everyone of these causes a warning
  55. #    message to appear while building this sample.  With warnings
  56. #    turned off, they don't appear.  Code generation is NOT effected.
  57.  
  58. # If ANY changes are made to the include file, you MUST perform
  59. # a full build of ALL source files.  The dependencies below will
  60. # cause all source file to be assembled if the ASample.inc1.a is updated.
  61.  
  62. AOptions        = -w
  63.  
  64. AObjs            = Sample.a.o ∂
  65.                     SampleMisc.a.o ∂
  66.                     "{Libraries}"Runtime.o ∂
  67.                     "{Libraries}"Interface.o
  68.  
  69. Sample.a.o        ƒƒ ASample.make Sample.inc1.a
  70.  
  71. SampleMisc.a.o    ƒƒ ASample.make Sample.inc1.a
  72.  
  73. ASample            ƒƒ {AObjs} ASample.make
  74.                     Link -o {Targ} {AObjs}
  75.                     SetFile {Targ} -t APPL -c 'MOOS' -a B
  76.  
  77. ASample            ƒƒ Sample.r Sample.h ASample.make
  78.                     Rez -rd -o {Targ} Sample.r -append
  79.